﻿/*
 * Last review by   : Yaser
 * Last review date : JUL-31-09
 */
using System;

namespace ERP.Business.DataTypes.BaseTypes
{
    /// <summary>
    /// Interval Based
    /// </summary>
    [System.Runtime.Serialization.DataContract]
    [Serializable]
    [System.Runtime.Serialization.KnownType(typeof(IntervalBased))]
    public abstract class IntervalBased : BaseType
    {
        #region Properties

        /// <summary>
        /// Interval start date
        /// </summary>        
        [System.Runtime.Serialization.DataMember]
        public DateTime StartDate
        {
            get;
            set;
        }

        /// <summary>
        /// Interval end date
        /// </summary>
        [System.Runtime.Serialization.DataMember]
        public DateTime EndDate
        {
            get;
            set;
        }

        #endregion
    }
}
